package com.eunion.web.cms.consts;

import java.util.HashMap;
import java.util.Map;

/**
 * 添加一些常量
 */
public class Consts {

	// 将键对应的描述放在集合里便于存取
	private static Map<String, String> descripts = new HashMap<String, String>();

	// 类型的设置
	public static final String RMB_SET_PERCENTAGE = "RMB_SET_PERCENTAGE";

	// 人民币充值汇率设置
	public static final String RMB_RECHARGE_PERCENTAGE = "RMB_RECHARGE_PERCENTAGE";

	// 提现设置
	public static final String RMB_WITHDRAW_DEPOSIT = "RMB_WITHDRAW_DEPOSIT";

	// 平台手续费platform_poundage
	public static final String PLATFORM_POUNDAGE = "PLATFORM_POUNDAGE";

	// 证券价格设置bond_price
	public static final String BOUND_PRICE = "BOUND_PRICE";

	/**
	 * 主管晋级的参数
	 */
	public static final String DECLARATION_FORM_DIRECTOR = "DECLARATION_FORM_DIRECTOR";

	/**
	 * 经理晋级的参数
	 */
	public static final String DECLARATION_FORM_MANAGER = "DECLARATION_FORM_MANAGER";

	/**
	 * 副总晋级的参数
	 */
	public static final String DECLARATION_FORM_DEPUTY = "DECLARATION_FORM_DEPUTY";

	/**
	 * 全球总监晋的参数
	 */
	public static final String DECLARATION_FORM_MAJORDOMO = "DECLARATION_FORM_MAJORDOMO";

	// 会员静态释放比例设置,类型
	public static final String STATIC_RELEASE_VIP = "STATIC_RELEASE_VIP";

	// 荣誉会员sp500
	public static final String HONOR_VIP_SP500 = "HONOR_VIP_SP500";

	// 荣誉会员sp2000
	public static final String HONOR_VIP_SP2000 = "HONOR_VIP_SP2000";

	// 尊享会员sp5000
	public static final String SHARE_VIP_SP5000 = "SHARE_VIP_SP5000";

	// 尊享会员sp20000
	public static final String SHARE_VIP_SP20000 = "SHARE_VIP_SP20000";

	// 至善会员sp50000
	public static final String SUMMUM_BONUM_VIP_SP50000 = "SUMMUM_BONUM_VIP_SP50000";

	// 至善会员sp200000
	public static final String SUMMUM_BONUM_VIP_SP200000 = "SUMMUM_BONUM_VIP_SP200000";

	// 体验会员sp200
	public static final String EXPERIENCE_VIP_SP200 = "EXPERIENCE_VIP_SP200";

	/**
	 * 见点奖
	 */
	public static final String DYNAMIC_BONUS_SEE_POINT = "DYNAMIC_BONUS_SEE_POINT";

	/**
	 * 直推奖普通会员
	 */
	public static final String DYNAMIC_BONUS_DIRECT_PUSH_ORDINARY = "DYNAMIC_BONUS_DIRECT_PUSH_ORDINARY";

	/**
	 * 直推奖其他会员
	 */
	public static final String DYNAMIC_BONUS_DIRECT_PUSH_ORDINARY_OTHER = "DYNAMIC_BONUS_DIRECT_PUSH_ORDINARY_OTHER";

	/**
	 * 双碰奖
	 */
	public static final String DYNAMIC_BONUS_DOUBLE_TOUCH = "DYNAMIC_BONUS_DOUBLE_TOUCH";

	/**
	 * 满碰奖
	 */
	public static final String DYNAMIC_BONUS_FULL_TOUCH = "DYNAMIC_BONUS_FULL_TOUCH";

	/**
	 * 领导奖
	 */
	public static final String DYNAMIC_BONUS_LEADER = "DYNAMIC_BONUS_LEADER";

	/**
	 * 管理奖
	 */
	public static final String DYNAMIC_BONUS_ADMINISTRATION = "DYNAMIC_BONUS_ADMINISTRATION";

	static {
		descripts.put(RMB_RECHARGE_PERCENTAGE, "人民币汇率设置");
		descripts.put(RMB_WITHDRAW_DEPOSIT, "提现设置");
		descripts.put(PLATFORM_POUNDAGE, "平台手续费设置");
		descripts.put(BOUND_PRICE, "证券价格设置");

		descripts.put(HONOR_VIP_SP500, "荣誉会员sp500");
		descripts.put(HONOR_VIP_SP2000, "荣誉会员sp2000");
		descripts.put(SHARE_VIP_SP5000, "尊享会员sp5000");
		descripts.put(SHARE_VIP_SP20000, "尊享会员sp20000");
		descripts.put(SUMMUM_BONUM_VIP_SP50000, "至善会员sp50000");
		descripts.put(SUMMUM_BONUM_VIP_SP200000, "至善会员sp200000");
		descripts.put(EXPERIENCE_VIP_SP200, "体验会员sp200");

		descripts.put(DECLARATION_FORM_DIRECTOR, "主管晋级的参数");
		descripts.put(DECLARATION_FORM_MANAGER, "经理晋级的参数");
		descripts.put(DECLARATION_FORM_DEPUTY, "副总晋级的参数");
		descripts.put(DECLARATION_FORM_MAJORDOMO, "全球总监晋的参数");

		descripts.put(DYNAMIC_BONUS_SEE_POINT, "见点奖");
		descripts.put(DYNAMIC_BONUS_DIRECT_PUSH_ORDINARY, "直推奖普通会员");
		descripts.put(DYNAMIC_BONUS_DIRECT_PUSH_ORDINARY_OTHER, "直推奖其它会员");
		descripts.put(DYNAMIC_BONUS_DOUBLE_TOUCH, "双碰奖");
		descripts.put(DYNAMIC_BONUS_FULL_TOUCH, "满碰奖");
		descripts.put(DYNAMIC_BONUS_LEADER, "领导奖");
		descripts.put(DYNAMIC_BONUS_ADMINISTRATION, "管理奖");

	}

	public static String getDescript(String key) {
		return descripts.get(key);
	}

	public static Map<String, String> tableAlies = new HashMap<String, String>();
	static {
		tableAlies.put("bankReport", "t_bank_detail");// 银行交易明细
		tableAlies.put("bonusSecuritiesReport", "t_bonus_securities_detail");// 奖金券分明细表
		tableAlies.put("caseSecuritiesReport", "t_case_securities_detail");// 现金券分明细表
		tableAlies.put("compSecuritiesReport", "t_comp_securities_detail");// 证券配套明细表
		tableAlies.put("educationFundReport", "t_education_fund_detail");// 教育基金明细表
		tableAlies.put("integralReport", "t_integral_detail");// 商城积分明细表
		tableAlies.put("leaderShipReport", "t_leader_ship_detail");// 领导奖
		tableAlies.put("managedReport", "t_managed_detail");// 管理奖
		tableAlies.put("managerBonusReport", "t_manager_bonus");// 报单中心管理里奖表
		tableAlies.put("negotiableReport", "t_negotiable_detail");// 有价证券明细
		tableAlies.put("oldSecurityReport", "t_old_security_detail");// 养老基金明细表
		tableAlies.put("pointBonusReport", "t_point_bonus_detail");// 见点奖
		tableAlies.put("rebuyReport", "t_rebuy_detail");// 复投券分明细表
		tableAlies.put("securitiesReport", "t_securities_detail");// 财富证券明细表
		tableAlies.put("stockCertificateReport", "t_stock_certificate_detail");// 股权交易明细表
		tableAlies.put("straightReport", "t_straight_detail");// 直推奖表
		tableAlies.put("theAwardReport", "t_the_award_detail");// 对碰奖
	}

	public static Map<String, String> tableAliesName = new HashMap<String, String>();
	static {
		tableAliesName.put("bankReport", "提现");// 提现统计报表
		tableAliesName.put("caseSecuritiesReport", "现金券分");// 现金券分明细表
		tableAliesName.put("bonusSecuritiesReport", "奖金券分");// 奖金券分明细表
		tableAliesName.put("educationFundReport", "教育基金");// 教育基金明细表
		tableAliesName.put("compSecuritiesReport", "证券配套");// 教育基金明细表
		tableAliesName.put("integralReport", "商城积分");// 商城积分明细表
		tableAliesName.put("negotiableReport", "有价证券");// 有价证券明细
		tableAliesName.put("oldSecurityReport", "养老基金");// 养老基金明细表
		tableAliesName.put("rebuyReport", "复投券分");// 复投券分明细表
		tableAliesName.put("securitiesReport", "财富证券");// 财富证券明细表
		tableAliesName.put("stockCertificateReport", "股权交易");// 股权交易明细表
		tableAliesName.put("theAwardReport", "对碰奖");// 对碰奖
		tableAliesName.put("pointBonusReport", "见点奖");// 见点奖
		tableAliesName.put("managedReport", "管理奖");// 管理奖
		tableAliesName.put("leaderShipReport", "领导奖");// 领导奖
		tableAliesName.put("straightReport", "直推奖");//直推奖
		tableAliesName.put("managerBonusReport", "报单中心奖金");// 报单中心奖金表
	}

}
